package com.cqjtu.eecs.service;

import com.cqjtu.eecs.entity.Student;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 学生 服务类
 * </p>
 *
 * @author    
 * @since 2022-03-07
 */
public interface IStudentService extends IService<Student> {
    Student  selectStudentByStuCode(String stuCode);
    List<Student> selectStudentByYearAndMajor(Integer year, String majorCode, Integer currPage, Integer pageSize);
    List<Student> getAllStudentCount(Integer grade,String majorCode,Integer ncId,Integer currPage,Integer pageSize);
    Integer getAllStudentCount_sum(Integer grade,String majorCode,Integer ncId);
    Integer getAllStudentCount2(Integer grade,String majorCode);
    List<Student> getAllStudentCount2_domain(Integer grade,String majorCode);

    Map<String, Integer> getCodeIdMap(List<String> codeList);
}
